projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb3b78f
)
* src/ftcrfont.c (ftcrfont_open): Skip zero glyph index.
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Mon, 20 May 2019 23:49:07 +0000
(08:49 +0900)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Mon, 20 May 2019 23:49:07 +0000
(08:49 +0900)
src/ftcrfont.c
patch
|
blob
|
history
diff --git
a/src/ftcrfont.c
b/src/ftcrfont.c
index 606db0b949b3cd808afedd27aff03f7966924026..2d5a7665578fe23cb2a15555be287adde2f30178 100644
(file)
--- a/
src/ftcrfont.c
+++ b/
src/ftcrfont.c
@@
-190,7
+190,7
@@
ftcrfont_open (struct frame *f, Lisp_Object entity, int pixel_size)
{
if (glyphs != &stack_glyph)
cairo_glyph_free (glyphs);
- else
+ else
if (stack_glyph.index)
{
int this_width =
ftcrfont_glyph_extents (font, stack_glyph.index, NULL);